:root {
    --primary: #B39755;
    --primary-light: #C9B280;
    --primary-dark: #8C6F3E;
    --secondary: #212529;
    --secondary-dark: #2A5B45;
    --dark: #2C3E50;
    --light: #f8f9fa;
    --warning: #E9B949;
    --danger: #E76F51;
    --gray-light: #e2e8f0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f5f7fa;
    color: #333;
}
/* Modern Navbar System */
.navbar {
  --gold-primary: #c5a338;
  --gold-hover: rgba(197, 163, 56, 0.12);
  --gold-active: rgba(197, 163, 56, 0.18);
  --text-primary: #1a1a1a;
  --text-secondary: #4a4a4a;
  
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 12px 5%;
  transition: 
    transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.4s ease,
    background 0.4s ease;
  z-index: 1000;
  backdrop-filter: blur(8px);
  background-color: rgba(255, 255, 255, 0.86);
}

.navbar-brand {
  font-weight: 800;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--text-primary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  transition: color 0.3s ease;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold-primary);
  transition: width 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.navbar-brand:hover {
  color: var(--gold-primary);
}

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-nav {
  gap: 4px;
}

.navbar-nav .nav-link {
  font-weight: 600;
  color: var(--text-secondary);
  padding: 10px 18px;
  transition: 
    color 0.25s ease,
    background 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    transform 0.2s ease;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-primary);
  z-index: -1;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.navbar-nav .nav-link:hover {
  color: var(--text-primary);
  background: var(--gold-hover);
  transform: translateY(-2px);
}

.navbar-nav .nav-link.active {
  color: var(--gold-primary) !important;
  font-weight: 700;
  background: var(--gold-active);
  box-shadow: inset 0 0 0 1px rgba(197, 163, 56, 0.25);
}

.navbar-nav .nav-link.active::before {
  transform: scaleY(0.05);
}
/* Dropdown menu styling */
.navbar .dropdown-menu {
  background-color: #fff;
  border: none;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  padding: 0.5rem 0;
  min-width: 240px;
  transition: all 0.3s ease-in-out;
}

.navbar .dropdown-menu .dropdown-item {
  padding: 10px 20px;
  color: rgb(255, 157, 0);
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s;
}

.navbar .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 243, 220);
  color: #000;
  font-weight: 600;
  border-left: 4px solid rgb(255, 157, 0);
}

/* Dropdown arrow */
.navbar .nav-link.dropdown-toggle::after {
  border-top-color: rgb(255, 157, 0);
  margin-left: 6px;
}

/* Scrolled navbar dropdown behavior */
#navbar.scrolled .dropdown-menu .dropdown-item {
  color: #000;
}

#navbar.scrolled .dropdown-menu .dropdown-item:hover {
  background-color: rgb(255, 236, 202);
  color: rgb(255, 157, 0);
}

/* Fade-in dropdown animation */
.dropdown-menu {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.show > .dropdown-menu {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Mobile specific tweaks */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: #fff;
    border-radius: 0 0 12px 12px;
    padding: 1rem;
  }

  .navbar .nav-link,
  .navbar .dropdown-menu .dropdown-item {
    color: #000 !important;
  }

  .navbar .dropdown-menu {
    box-shadow: none;
    border-radius: 0;
    padding-left: 1rem;
  }

  .navbar .dropdown-menu .dropdown-item {
    padding: 8px 0;
    border-left: 3px solid transparent;
  }

  .navbar .dropdown-menu .dropdown-item:hover {
    background-color: transparent;
    color: rgb(255, 157, 0);
    border-left-color: rgb(255, 157, 0);
  }
}
/* Dynamic scroll effects */
.navbar.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  padding: 8px 5%;
  background-color: rgba(255, 255, 255, 0.96);
}

/* Mobile enhancements */
@media (max-width: 768px) {
  .navbar {
    padding: 12px 7%;
    backdrop-filter: none;
    background-color: #fff;
  }
  
  .navbar-nav {
    gap: 2px;
    padding: 8px 0;
  }
  
  .navbar-nav .nav-link {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 4px 0;
  }
  
  .navbar.scrolled {
    padding: 8px 7%;
  }
}
.hero-banner {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    padding: 2rem;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.05)" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,197.3C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    background: rgba(255, 255, 255, 0.15);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.hero-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    color: rgba(255, 255, 255, 0.9);
}

.property-preview {
    background: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=800&q=80');
    height: 200px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    position: relative;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.property-type-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.predictor-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    padding: 2rem;
    border: none;
    transition: transform 0.3s ease;
}

.predictor-card:hover {
    transform: translateY(-5px);
}

.prediction-card {
    display: flex;
    flex-direction: column;
}

.section-title {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
}

.form-control,
.form-select {
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 15px;
    transition: all 0.3s;
    font-size: 1rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 0.25rem rgba(179, 151, 85, 0.25);
    outline: none;
}

.form-label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark);
}

/* Custom range slider */
#size {
    -webkit-appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: var(--gray-light);
    outline: none;
}

#size::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

#size::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: 2px solid white;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.range-value {
    min-width: 100px;
    text-align: right;
    font-weight: 600;
    color: var(--dark);
}

.btn-predict {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border: none;
    padding: 14px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(179, 151, 85, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-predict:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(179, 151, 85, 0.4);
}

.price-result {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 20px 0;
}

.market-trend {
    background: rgba(61, 140, 109, 0.1);
    color: var(--success);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 600;
    display: inline-block;
    font-size: 0.9rem;
}

.result-details {
    background: #f8faf9;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-light);
    font-size: 1rem;
}

.detail-item:last-child {
    border-bottom: none;
}

.confidence-meter {
    background: #f8faf9;
    border-radius: 12px;
    padding: 20px;
    margin-top: auto;
}

.meter-bar {
    height: 10px;
    background: var(--gray-light);
    border-radius: 5px;
    overflow: hidden;
    margin: 10px 0;
}

.meter-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--warning), var(--success));
    width: 85%;
    border-radius: 5px;
}

/* Market Trends */
.trend-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eaeaea;
}

.trend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.trend-icon {
    width: 50px;
    height: 50px;
    background: rgba(179, 151, 85, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
}

.trend-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    color: var(--dark);
}

.trend-value {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 15px 0;
}

.trend-positive {
    color: var(--success);
}

.trend-negative {
    color: var(--danger);
}

.chart-container {
    height: 150px;
    margin: 20px 0;
    position: relative;
}

.trend-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.trend-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
}

.trend-list li:last-child {
    border-bottom: none;
}

.trend-list .value {
    font-weight: 600;
}

/* Investment Card */
.investment-card {
    background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
    color: white;
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(42, 91, 69, 0.3);
}

.investment-title {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.investment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.investment-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.investment-list li:last-child {
    border-bottom: none;
}

.investment-list .icon {
    background: rgba(255, 255, 255, 0.15);
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.investment-rating {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.rating-star {
    color: var(--warning);
}

/* Features */
.feature-card {
    background: white;
    border-radius: 16px;
    padding: 25px;
    height: 100%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    border: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(179, 151, 85, 0.1);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 24px;
    color: var(--primary);
}

.feature-title {
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-desc {
    color: #555;
    margin-bottom: 0;
}

/* CTA */
.cta-agent-section {
    background: #f8faf9;
    padding: 3rem 0;
}

.bg-dark-green {
    background: #2C3E50;
}



/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-in forwards;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(179, 151, 85, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(179, 151, 85, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(179, 151, 85, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2rem;
    }

    .property-preview {
        height: 180px;
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .price-result {
        font-size: 2rem;
    }

    .trend-value {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .logo-wrapper {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .hero-title {
        font-size: 1.6rem;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .price-result {
        font-size: 1.8rem;
    }
}
.footer-dark {
    background-color: #2C3E50; /* fixed dark color for footer */
    color: white;
    position: relative;
    overflow: hidden;
}

.footer-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #2C3E50;
}

/* ========== Social Icons ========== */
.social-icon {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
}

.social-icon:hover {
    background-color: var(--primary, #e7c873);
    color: var(--secondary, #1e1e2f);
    transform: translateY(-5px);
}

/* ========== Highlighted Text ========== */
.highlight {
    position: relative;
    z-index: 1;
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 12px;
    background: rgba(231, 200, 115, 0.3);
    z-index: -1;
    transform: skewX(-15deg);
}

/* ========== Scroll Animations ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== Custom Utility Classes ========== */
.bg-custom-light {
    background-color: var(--light, #f8f9fa) !important;
}

.bg-deep-blue {
    background-color: var(--secondary, #1e1e2f);
}

.ptb-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.mb-6 {
    margin-bottom: 5rem !important;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
}

/* ========== Navbar ========== */
.navbar-nav {
    align-items: center;
}

/* ========== Responsive Fixes ========== */
@media (max-width: 768px) {
    .display-title {
        font-size: 2.8rem;
    }

    .hero-section {
        padding: 120px 0 80px;
    }

    .stats-number {
        font-size: 2.8rem;
    }

    .stats-section {
        padding: 40px 20px;
    }

    .testimonial-card {
        padding: 30px 20px;
    }

    .navbar-collapse {
        background-color: #fff;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .stats-item {
        padding: 20px 15px;
    }
}

